package cn.kgc.spring.day02.mapper.impl;

import cn.kgc.spring.day02.mapper.UserMapper;
import org.springframework.stereotype.Repository;

/**
 * @author 课工场
 * @date 2024/11/6
 * @description
 */
@Repository
public class UserMapperImpl implements UserMapper {


    @Override
    public Integer deleteUser(Integer id) {

        System.out.println("mysql >> delete from user where id = "+id);
        return 1;
    }
}
